﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Maticsoft.DBUtility;
using System.Data;

namespace OracleDAL
{
    public class TESTDAL
    {
        public DataSet GetList(string xm, string mm)
        {
            StringBuilder strSql = new StringBuilder();
            strSql.Append("select * from test");
            strSql.Append(" where NAME=" + xm);
            strSql.Append(" and PASSWORD=" + mm);

            //if (xm.Trim() != "")
            //{
            //    strSql.Append(" where  " + xm);
            //}
            return DbHelperOra.Query(strSql.ToString());
        }
    }


}
